<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>修改供应商信息</title>
<link href="css/css-main.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/validation/validationEngine.jquery.css" type="text/css"/>
<link rel="stylesheet" href="css/validation/template.css" type="text/css"/>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/validation/languages/jquery.validationEngine-zh_CN.js" ></script>
<script src="js/validation/jquery.validationEngine.js" ></script>
<script>
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#formId").validationEngine({
			promptPosition: "centerRight"});
		});

		function cancel() {
			parentDialog.close();
		}
	</script>

</head>
<form id="formId" method="post" action="cms/supplier/doMod.do">
<div class="tableall">
  <!--//导航位置层-->
    <div class="cont_right_cont"><div>
      </div>
      <fieldset>
      <legend>修改供应商信息</legend>
      <div >
        <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0">
        	<s:hidden name="supplierInfo.supplierId"/>
          <tr>
								<td nowrap width="20%" align="right">
									供应商名称：
								</td>
								<td nowrap width="30%">
									<span style="padding: 0px"> <!--  <input name="supplierInfo.supplierName" type="text" class="data-searchtxt-runtime validate[required,maxSize[20] custom[chAndEnChar]] text-input"id="orderByName" size="20" />
                --> <input name="supplierInfo.supplierName" value="<s:property value='supplierInfo.supplierName' />" type="text"
											class="data-searchtxt-runtime" id="orderByName" size="20" />
										<font color="red">*</font> </span>
								</td>

							</tr>
          <tr>
								<td nowrap align="right">
									联系人：
								</td>
								<td nowrap>
									<span style="padding: 0px"> <!--  
              <input name="supplierInfo.contactName" type="text" class="data-searchtxt-runtime validate[custom[discount]]" id="orderByDiscount" />
              --> <input name="supplierInfo.contactName" value="<s:property value='supplierInfo.contactName' />" type="text"
											class="data-searchtxt-runtime" id="contactName" /><font
										color="red">*</font> </span>
								</td>
							</tr>
          <tr>
				<td nowrap align="right">
					联系电话：
				</td>
				<td nowrap>
					<span style="padding: 0px"> <input
							name="supplierInfo.contactTel" value="<s:property value='supplierInfo.contactTel' />" type="text"
							class="data-searchtxt-runtime validate[required,maxSize[20],custom[phone]]" id="contactTel" /> <font
						color="red">*</font> </span>
				</td>
							</tr>
							<tr>
								<td nowrap align="right">
									地址：
								</td>
								<td nowrap>
									<span style="padding: 0px"> <input
											name="supplierInfo.supplierAddr" value="<s:property value='supplierInfo.supplierAddr' />" type="text"
											class="data-searchtxt-runtime validate[required,maxSize[20],custom[chAndEnChar]]" id="supplierAddr" /> <font
										color="red">*</font> </span>
								</td>
							</tr>
							<tr>
								<td nowrap align="right">
									供应商邮箱：
								</td>
								<td nowrap>
									<span style="padding: 0px"> <input
											name="supplierInfo.supplierEmail" value="<s:property value='supplierInfo.supplierEmail' />" type="text"
											class="data-searchtxt-runtime" id="supplierEmail" /> </span>
								</td>
							</tr>
          <tr>
            <td nowrap colspan="2" align="center">
            <input name="button2" type="submit" class="btn-Yes" id="button2" value="确定">
            <input name="button2" type="button" class="btn-Yes" id="button2" value="取 消" onclick="cancel();">
            </td>
          </tr>
        </table>
      </div>
      </fieldset>
    </div>
     
</div>
</form>
</html>
